<template>
  <div v-title data-title="基建现场管理单编辑">
        <PowersDetail ref="PowersDetailBox" />
  </div>
</template>

<script>
import PowersDetail from '@/views/materials/powers/PowersDetail'
export default {
  components: {
    PowersDetail,
  },
  data() {
    return {
      id: this.$route.params && this.$route.params.id,
    }
  },
  mounted(){
    if(this.id){
      this.$refs.PowersDetailBox.fetchPowers(this.id)
    }
  }
}
</script>